package com.wulian.user.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.wulian.user.dto.CompanyManagerResultDto;
import com.wulian.user.entity.CompanyManager;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author caifulin
 * @version 1.0
 * @Description:(企业管理)
 * @date 2020/7/23 18:24
 */
@Repository
@Mapper
public interface CompanyManagerMapper extends BaseMapper<CompanyManager> {


    CompanyManagerResultDto selectByCompanyId(CompanyManager companyManager);

    List<CompanyManagerResultDto> pageList(CompanyManager companyManager , Page<CompanyManagerResultDto> page);
}